home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / zvt1_11u.lha / ZVT / ExampleScripts / DataScript.rexx < prev    next >
OS/2 REXX Batch file  |  1995-09-05  |  1KB  |  35 lines

  1. /*
  2.  * Datascript for ZVT and TrapDoor
  3.  *
  4.  * When this script is called, the data connection is established and
  5.  * TrapDoor may begin with its handshake.
  6.  *
  7.  * TrapDoor and your mailbox program have to open the serial device in
  8.  * SHARED mode (no change) and with the same baud rate which is set in
  9.  * ZVT.
  10.  *
  11.  * If you want to use another mailer or mailbox program instead of
  12.  * TrapDoor, remember that this program has to exit as soon as the data
  13.  * session is finished.
  14.  */
  15.  
  16. options results
  17.  
  18.   /*
  19.    * TrapDoor Options for non-Trapdoor lifeforms :-)
  20.    *
  21.    * BBSMODE EXIT : Spawn BBS program if needed, let TrapDoor exit 
  22.    *                as soon as the mailbox program quits
  23.    *
  24.    * ANSWER       : Let TrapDoor run in answer mode, meaning waiting
  25.    *                for a call and the usual 'Press ESC twice..' blurb
  26.    *
  27.    * IMMEDIATE    : Don't initialize modem, start with login procedure
  28.    *                instantly
  29.    */
  30.  
  31.  
  32.   ADDRESS COMMAND 'TrapDoor BBSMODE EXIT ANSWER IMMEDIATE'
  33.   ADDRESS ZVT.1 hangup
  34.  
  35.